import Dissolution from "../../cccframework/Common/Components/Dissolution";



const { ccclass, property } = cc._decorator;

@ccclass
export default class DissolutionTest extends cc.Component {

    @property(Dissolution)
    pic: Dissolution = null;

    onLoad() {
        cc.Vec2
        if (this.pic) {
            cc.tween(this.pic)
                .repeatForever(
                    cc.tween()
                        .to(3, { fadeRate: 1 })
                        .delay(2)
                        .to(3, { fadeRate: 0 })
                        .delay(2)
                )
                .start()
        }
    }

    update(dt) {

    }
}
